//package com.sx.manage.controller.consumer.person;
//
//import javax.annotation.Resource;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Controller;
//import org.springframework.validation.BindingResult;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import com.sx.common.vo.BaseVO;
//import com.sx.manage.controller.base.MBaseController;
//import com.sx.manage.service.consumer.HuaxiaAccountWebService;
//import com.sx.model.manage.mybatis.vo.result.ResultBooleanVO;
//import com.sx.model.manage.mybatis.web.form.huaxia2.HxAccInfoChangeForm;
//import com.sx.model.manage.mybatis.web.form.huaxia2.HxAccInfoSignForm;
//import com.sx.model.manage.mybatis.web.form.huaxia2.HxBindOutAndInAccountInfoForm;
//import com.sx.model.manage.mybatis.web.form.huaxia2.HxQueryConsumerInfoForm;
//import com.sx.model.manage.mybatis.web.vo.huaxia02.query.HxQueryConsumerInfoVO;
//
///**
// * 华夏二期 子账户相关controller
// * @author Administrator
// *
// */
//@Controller
//@RequestMapping("/huaxiaAccount")
//@SuppressWarnings("rawtypes")
//public class MHuaXiaAccountController extends MBaseController{
//	//日志
//	private Logger _log = LoggerFactory.getLogger(this.getClass());
//	@Resource
//	private HuaxiaAccountWebService huaxiaAccountWebService ;
//	
//	/**  
//	 * 根据子账号信息查询
//	 * @param queryForm
//	 * @return
//	 */
//	@RequestMapping(value = "/queryConsumerByAccountNo" ,produces = "application/json; charset=utf-8")
//	@ResponseBody
//	public HxQueryConsumerInfoVO queryConsumerByAccountNo(@RequestBody HxQueryConsumerInfoForm queryForm,BindingResult errors){ 
// 		_log.debug("子账户变更信息确认queryForm={}",queryForm);
// 		String error = this.fieldValidate(queryForm, errors);
// 		if( null != error){
// 			return new  HxQueryConsumerInfoVO(false,null,error); 
// 		}
//		return huaxiaAccountWebService.queryConsumerByAccountNo(queryForm.getBoothNo());
//	}
//
//	/**
//	 * 子账户变更信息确认
//	 * @param changeForm
//	 * @return
//	 */
//
//	@RequestMapping(value = "/accountInfoChangeConfirm" ,produces = "application/json; charset=utf-8")
//	@ResponseBody
//	public BaseVO accountInfoChangeConfirm(@RequestBody HxAccInfoChangeForm changeForm,BindingResult errors){ 
// 		_log.debug("子账户变更信息确认changeForm={}",changeForm);
// 		String error = this.fieldValidate(changeForm, errors);
// 		if( null != error){
// 			return new  ResultBooleanVO(false,null,error); 
// 		}
//		return huaxiaAccountWebService.accountInfoChangeConfirm(changeForm);
//	}
//	/**
//	 * 子账户签约信息确认
//	 * @param signForm
//	 * @return
//	 */
//	@RequestMapping(value = "/contractAccountInfoConfirm" ,produces = "application/json; charset=utf-8")
//	@ResponseBody
//	public BaseVO contractAccountInfoConfirm(@RequestBody HxAccInfoSignForm signForm,BindingResult errors){ 
// 		_log.debug("子账户签约信息确认signForm={}",signForm);
// 		String error = this.fieldValidate(signForm, errors);
// 		if( null != error){
// 			return new  ResultBooleanVO(false,null,error); 
// 		}
//		return huaxiaAccountWebService.contractAccountInfoConfirm(signForm);
//	}
//	/**
//	 * 子账户绑定账户信息确认
//	 * @param bindForm
//	 * @return
//	 */
//	@RequestMapping(value = "/accountBindInfoConfirm" ,produces = "application/json; charset=utf-8")
//	@ResponseBody
//	public BaseVO accountBindInfoConfirm(@RequestBody HxBindOutAndInAccountInfoForm bindForm,BindingResult errors){ 
// 		_log.debug("子账户绑定账户信息确认bindForm={}",bindForm);
// 		String error = this.fieldValidate(bindForm, errors);
// 		if( null != error){
// 			return new  ResultBooleanVO(false,null,error); 
// 		}
//		return huaxiaAccountWebService.accountBindInfoConfirm(bindForm);
//	}
//}
